package com.xo.user.mapper;

import com.xo.common.pojo.entity.SysUserEntity;
import org.apache.ibatis.annotations.Param;

public interface LoginMapper {
    int selectCountByPhone(@Param("phone") String phone);

    int selectCountByUsername(@Param("username") String username);

    int insert(@Param("sysUserEntity") SysUserEntity sysUserEntity);

    SysUserEntity selectSysUserByUsername(@Param("username") String username);

    SysUserEntity selectCountByTenantId(@Param("tenantId") Long tenantId);
}
